package com.hziee.graduate.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hziee.graduate.ticket.dto.R;
import com.hziee.graduate.ticket.entity.Movie;
import com.hziee.graduate.ticket.vo.ConditionMovieVO;
import com.hziee.graduate.ticket.vo.MovieChartVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface MovieService extends IService<Movie> {
    R<Object> addMovie(Map<String, String> map);

    R<List<Movie>> getHotMovie(String locationName);

    R<List<Movie>> getLikeMovie(String locationName, Long userId);

    R<List<Movie>> getAllMovieOrderByView(String locationName);

    R<List<Movie>> getScheduledMovie(String locationName, String date);

    R<List<ConditionMovieVO>> getMovieByCondition(Map<String, String> map);

    R<List<Movie>> getMovieByKeyword(ArrayList<String> keywords);

    R<List<MovieChartVO>> getMovieChart(Map<String, Object> map);
}

